<?php

namespace app\api\model;

use app\common\model\TeachingExperience as TeachingExperienceModel;

class TeachingExperience extends TeachingExperienceModel
{
    /**
     * 教师教学经历
     */
    public static function getByTeacherId($teacherId)
    {
        return self::where('teacher_id', $teacherId)->order('starttime desc')->select();
    }

}
